package com.w.wx.service;

import com.w.wx.domain.CommentsInfo;
import com.w.wx.domain.CommentsReply;

import java.util.ArrayList;

public interface CommeService {
    CommentsInfo addMainComments(CommentsInfo info);

    CommentsReply addSonComments(CommentsReply reply);

    ArrayList<CommentsInfo> getAllComments(int gid,String openid);

    int getSonCommentsSums(int gid);

    CommentsInfo getMainAllSonCom(int inId,String openid);


}
